/**
 * Created by xuwei on 2017/7/12.
 * 账户登录与登出相关接口,系统管理相关
 */
import ajax from 'service/ajax'
const url1 = '/Category/index'
const url2 = '/ShareResource/index'
const url3 = '/Product/index'

export default {
  getCates: (data = {}) => {
    return ajax({
      url: url1,
      data: data,
      method: 'get'
    })
  },
  getResource: (data = {}) => {
    return ajax({
      url: url2,
      data: data,
      method: 'get'
    })
  },
  getProduct: (data = {}) => {
    return ajax({
      url: url3,
      data: data,
      method: 'get'
    })
  }
}
